LOCAL_PATH := $(call my-dir)

include $(CLEAR_VARS)

LOCAL_MODULE := main

SDL_PATH := ../SDL2
SRC_PATH := ../../../../src/

LOCAL_C_INCLUDES := $(LOCAL_PATH)/$(SDL_PATH)/include \
                    $(LOCAL_PATH)/$(SRC_PATH)

LOCAL_SRC_FILES := $(SRC_PATH)/main.cpp \
                   $(SRC_PATH)/zj_logger.c \
                   $(SRC_PATH)/zj_string.cpp \
                   $(SRC_PATH)/PageManager.cpp \
                   $(SRC_PATH)/Page.cpp \
                   $(SRC_PATH)/SimpleButton.cpp \
                   $(SRC_PATH)/SimpleImage.cpp \
                   $(SRC_PATH)/common.cpp \
                   $(SRC_PATH)/WelcomePage.cpp \

LOCAL_SHARED_LIBRARIES := SDL2 SDL2_image_static SDL2_ttf_static

LOCAL_LDLIBS := -lGLESv1_CM -lGLESv2 -lOpenSLES -llog -landroid

include $(BUILD_SHARED_LIBRARY)
